﻿// Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System.Reflection;

namespace Autofac.Core.Activators.Reflection;

/// <summary>
/// Find suitable constructors from which to select.
/// </summary>
public interface IConstructorFinder
{
    /// <summary>
    /// Finds suitable constructors on the target type.
    /// </summary>
    /// <param name="targetType">Type to search for constructors.</param>
    /// <returns>Suitable constructors.</returns>
    ConstructorInfo[] FindConstructors(Type targetType);
}
